package com.showsu.editor.entity.doo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: William
 * @Description: 用户登录日志领域模型
 * @Date: Created in 8:36 下午 2024/9/12
 * @Modified By:
 */
@Data
public class UserLoginLog implements Serializable {

    private Long id;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("会话ID")
    private String sessionId;

    @ApiModelProperty("请求的ip")
    private String clientIp;

    @ApiModelProperty("请求端操作系统")
    private String clientOs;

    @ApiModelProperty("客户端浏览器")
    private String clientBrowser;

    @ApiModelProperty("客户端来源")
    private String clientOrigin;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("最近一次更新时间")
    private Date updateTime;
}
